package com.pro_one.dao;

import com.github.pagehelper.Page;
import com.pro_one.pojo.Exercise;
import com.pro_one.pojo.Meals;

import java.util.List;

public interface ExerciseDao {
    /*上传文件*/
    void upload(Exercise exercise);
    /*根据名字查*/
    Integer findname(String name);
    /*修改*/
    void modification(Exercise exercise);
    /*分页查询*/
    Page<Exercise> findByCondition(String queryString);

    List<Exercise> findById(Integer id);
}
